package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.common.ResponseResult;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.*;

/**
 * 渠道Service
 *
 * @author zhangnn
 * @date 2020-12-24
 */
public interface FlowChannelRepository {

    ResponseResult list(FlowChannelVo flowChannelVo);

    String add(FlowChannelAddVo flowChannelAddVo);

    Integer edit(FlowChannelEditVo flowChannelEditVo);

    Integer delete(String id);

    FlowChannelInfo detail(String id);

    Boolean isTemplateExist(String type);

    Integer startStatus(FlowChannelStatusVo flowChannelStatusVo);

}
